import { ref } from 'vue'
import { pageContent } from '@/components/page-content'
export function userPageSeach() {
  const pageContentRef = ref<InstanceType<typeof pageContent>>()
  const headelResetClick = () => {
    pageContentRef.value?.getPageData()
  }
  const headelQueryClick = (queryInfo: any = {}) => {
    pageContentRef.value?.getPageData(queryInfo)
  }

  return [pageContentRef, headelResetClick, headelQueryClick]
}
